const FindMusic = () => import('../components/findmusic/FindMusic.vue')
const PrivateFm = () => import('../components/privatefm/PrivateFM.vue')
const LookLive = () => import('../components/looklive/LookLive.vue')
const Video = () => import('../components/video/Video.vue')
const Friends = () => import('../components/friends/Friends.vue')
const LocalMusic = () => import('../components/localmusic/Local_Music.vue')
const DownloadManager = () => import('../components/downloadmanager/Download_Manager.vue')
const MusicCloudDisk = () => import('../components/musicclouddisk/Music_Cloud_Disk.vue')
const RadioStation = () => import('../components/radiostation/Radio_Station.vue')
const Collection = () => import('../components/mycollection/Collection.vue')
const RtStyle = () => import('../components/findmusic/rtstyle/Rtstyle.vue')
const Rtsongs = () => import('../components/findmusic/rtsongs/Rtsongs.vue')
const Rtanchor = () => import('../components/findmusic/rtanchor/Rtanchor.vue')
const Dj = () => import('../components/findmusic/rtanchor/Dj.vue')
const RankingList = () => import('../components/findmusic/rtanchor/RankingList.vue')
const Rtlist = () => import('../components/findmusic/rtlist/Rtlist.vue')
const Rtsinger = () => import('../components/findmusic/rtsinger/Rtsinger.vue')
const Rtnewsing = () => import('../components/findmusic/rtnewsing/Rtnewsing.vue')
const RecommendSongsList = () => import('../components/findmusic/rtstyle/RecommendSongsList.vue')
const SongsList = () => import('../components/findmusic/rtstyle/SongsList.vue')
const UserInfo = () => import('../components/findmusic/rtstyle/UserInfo.vue')
const Event = () => import('../components/findmusic/rtstyle/Event.vue')
const PrivateContentList = () => import('../components/findmusic/rtstyle/PrivateContentList.vue')
const AlbumDetail = () => import('../components/findmusic/rtnewsing/AlbumDetail.vue')
const VideoMvList = () => import('../components/findmusic/rtstyle/VideoMvList.vue')
const AllMv = () => import('../components/mv/AllMv.vue')
const AllRankMv = () => import('../components/mv/AllRankMv.vue')
const PlayList = () => import('../components/findmusic/rtsongs/PlayList.vue')
const HighQuality = () => import('../components/findmusic/rtsongs/HighQuality.vue')
const ProgramDetail = () => import('../components/findmusic/rtanchor/DjDetail.vue')
const PayDetail = () => import('../components/findmusic/rtanchor/PayDetail.vue')
const CateGoryRadio = () => import('../components/findmusic/rtanchor/CateGoryRadio.vue')
const PayList = () => import('../components/findmusic/rtanchor/PayList.vue')
const SingerDetail = () => import('../components/findmusic/rtsinger/SingerDetail.vue')
const SingerRank = () => import('../components/findmusic/rtsinger/SingerRank.vue')
const VideoPlayer = () => import('../views/center/right/VideoPlayer.vue')
const Search = () => import('../components/search/Search.vue')

export default {
  routes: [
    { path: '/', redirect: '/find_music/rtstyle' },
    {
      path: '/find_music',
      redirect: '/find_music/rtstyle',
      component: FindMusic,
      children: [
        { path: '/find_music/rtstyle', component: RtStyle },
        {
          path: '/find_music/rtsongs',
          redirect: '/find_music/rtsongs/playlist',
          component: Rtsongs,
          children: [
            { path: '/find_music/rtsongs/playlist', component: PlayList },
            { path: '/find_music/rtsongs/highquality', component: HighQuality }
          ]
        },
        {
          path: '/find_music/dj',
          redirect: '/find_music/rtanchor',
          component: Dj,
          children: [
            { path: '/find_music/rtanchor', component: Rtanchor },
            { path: '/find_music/rankinglist', component: RankingList }
          ]
        },
        { path: '/find_music/rtlist', component: Rtlist },
        { path: '/find_music/rtsinger', component: Rtsinger },
        { path: '/find_music/rtnewsing', component: Rtnewsing }
      ]
    },
    { path: '/private_fm', component: PrivateFm },
    { path: '/look_live', component: LookLive },
    { path: '/video', component: Video },
    { path: '/friends', component: Friends },
    { path: '/local_music', component: LocalMusic },
    { path: '/download_manager', component: DownloadManager },
    { path: '/music_cloud_disk', component: MusicCloudDisk },
    { path: '/radio_station', component: RadioStation },
    { path: '/collection', component: Collection },
    { path: '/Recommend_songs_list', component: RecommendSongsList },
    { path: '/songs/:id', component: SongsList },
    { path: '/user_info/:id', component: UserInfo },
    { path: '/event/:id/:type', component: Event },
    { path: '/private_Content_list', component: PrivateContentList },
    // { path: '/video_or_mv_play/:id/:type', component: VideoPlayer }
    { path: '/album_detail/:id', component: AlbumDetail },
    { path: '/video_mv_list', component: VideoMvList },
    { path: '/all_mv', component: AllMv },
    { path: '/program_detail/:id', component: ProgramDetail },
    { path: '/pay_detail/:id', component: PayDetail },
    { path: '/category_radio/:type', component: CateGoryRadio },
    { path: '/paylist', component: PayList },
    { path: '/singer_detail/:id', component: SingerDetail },
    { path: '/singer_rank', component: SingerRank },
    { path: '/all_Rank_mv', component: AllRankMv },
    { path: '/video_player/:id', component: VideoPlayer },
    { path: '/search/:inputvalue', component: Search }
  ]
}
